﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Godot.core.io
{
    public class ResourceSaver
    {
        private const int MAX_SAVERS = 64;

        private static ResourceFormatSaver[] _savers = new ResourceFormatSaver[MAX_SAVERS];
        private static int _saver_count = 0;

        public static void add_resource_format_saver(ResourceFormatSaver p_format_saver) 
        {	
	        if( _saver_count >= MAX_SAVERS )
                return;

	        _savers[ _saver_count++ ] = p_format_saver;
        }
    }
}
